﻿<%@ Page Title="" Language="C#" enableEventValidation="false" MasterPageFile="~/Portal/Master/Portal.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="Besture.UI.Portal.UserCenter.Login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="/Resource/css/index.css" rel="stylesheet" />
    <style type="text/css">
        .main .pwd{
            height:0px !important;
            margin-bottom: 27px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="server">
    <div class="wrap">
        <div class="main">
            <form>
                <div class="main_login">
                    <div class="login_body">
                        <div class="login_body_content">
                            <div class="title">用户登录</div>
                            <div class="getlogin">没有账号？<a href="Register.aspx">立即注册</a></div>
                            <br class="clear" />
                            <div class="number">账号</div>
                            <div class="vidate">
                                <input id="txtLoginname" runat="server" class="input" name="username" placeholder="请输入您的手机号码/邮箱地址" />
                            </div>
                            <div class="pwd">密码  <a href="/Portal/FindUserPwd/EmailFindOne.aspx" target="_blank">忘记密码？</a>    </div>
                            <div class="vidate">
                                <input id="LoginPwd" runat="server" type="password" class="input2" name="password" placeholder="请输入密码" />
                            </div>
                            <div class="notime">
                                <label>
                                    <input type="checkbox" />  记住密码
                                </label>
                            </div>

                            <input type="submit" class="subimt" value="登 录" runat="server" OnServerClick="Login_Click" />
                            <div class="login_floot">您也可以通过以下方式登录：<a><img src="../../Resource/images/weibo.png" /></a><a><img src="../../Resource/images/qq.png" /></a> </div>
                        </div>
                    </div>
                </div>
            </form>
        </div><!-- //main -->
    </div>
    <!-- //wrap -->
    <script src="/Resource/js/jquery.validate.js"></script>
    <script>
        $("form").validate({
            rules: {
                ctl00$Content$txtLoginname: {
                    required: true
                },
                ctl00$Content$LoginPwd: {
                    required: true
                }
            },
            messages: {
                ctl00$Content$txtLoginname: {
                    required: "请输入账号！"
                },
                ctl00$Content$LoginPwd: {
                    required: "请输入密码！"
                }
            },
            highlight: function (element, errorClass, validClass) {
            },
            unhighlight: function (element, errorClass, validClass) {
            }
        });
    </script>
</asp:Content>
